
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>5.服务部署 · GitBook电子书</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="吴俭">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="../chapter4/" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    1.介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../chapter2/">
            
                <a href="../chapter2/">
            
                    
                    2.环境准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../chapter3/">
            
                <a href="../chapter3/">
            
                    
                    3.基本使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../chapter4/">
            
                <a href="../chapter4/">
            
                    
                    4.插件运用
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5" data-path="./">
            
                <a href="./">
            
                    
                    5.服务部署
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >5.服务部署</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x670D;&#x52A1;&#x90E8;&#x7F72;">&#x670D;&#x52A1;&#x90E8;&#x7F72;</h1>
<h4 id="&#x6784;&#x5EFA;&#x9879;&#x76EE;">&#x6784;&#x5EFA;&#x9879;&#x76EE;</h4>
<p>&#x4F7F;&#x7528;<code>gitbook build</code>&#x6784;&#x5EFA;&#x9879;&#x76EE;&#xFF0C;&#x6210;&#x529F;&#x540E;&#x5373;&#x53EF;&#x5728;<code>_book</code> &#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x751F;&#x6210;&#x5BF9;&#x5E94;&#x7684;&#x9759;&#x6001;&#x8D44;&#x6E90;&#x3002;</p>
<pre><code class="lang-shell">gitbook build
</code></pre>
<h4 id="pages&#x670D;&#x52A1;"><code>Pages</code>&#x670D;&#x52A1;</h4>
<p><code>Git</code>&#x670D;&#x52A1;&#x63D0;&#x4F9B;&#x5546;&#x90FD;&#x6709;<code>Pages</code>&#x670D;&#x52A1;&#xFF0C;&#x6BD4;&#x5982;<code>Github Pages</code>&#x3002;&#x7531;&#x4E8E;<code>Github</code>&#x7684;&#x4E0D;&#x7A33;&#x5B9A;&#x6027;&#xFF0C;&#x5728;&#x56FD;&#x5185;&#x8BBF;&#x95EE;&#x7ECF;&#x5E38;&#x51FA;&#x73B0;&#x95EE;&#x9898;&#xFF0C;&#x6240;&#x4EE5;&#x6211;&#x4EEC;&#x8FD9;&#x8FB9;&#x4F7F;&#x7528;<code>Gitee Pages</code>&#x670D;&#x52A1;&#x3002;</p>
<p>&#x5C06;&#x9879;&#x76EE;&#x4EE3;&#x7801;&#x4E0A;&#x4F20;&#x81F3;<code>Gitee</code>&#x7684;&#x4ED3;&#x5E93;&#xFF0C;&#x7136;&#x540E;&#x9009;&#x62E9;<strong>&#x670D;&#x52A1; - <code>Gitee Pages</code></strong>&#x83DC;&#x5355;&#x3002;</p>
<p><img src="../img/gitee-pages.png" alt="img"></p>
<p>&#x8FDB;&#x5165;&#x83DC;&#x5355;&#x9875;&#x540E;&#xFF0C;&#x9009;&#x62E9;&#x9700;&#x8981;&#x90E8;&#x7F72;&#x7684;&#x5206;&#x652F;&#x548C;&#x76EE;&#x5F55;&#xFF0C;&#x7136;&#x540E;&#x70B9;&#x51FB;&#x542F;&#x52A8;&#x3002;&#x542F;&#x52A8;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5373;&#x53EF;&#x901A;&#x8FC7;<code>Gitee Pages</code>&#x670D;&#x52A1;&#x63D0;&#x4F9B;&#x7684;&#x5730;&#x5740;&#x8BBF;&#x95EE;&#x3002;</p>
<p><img src="../img/publish.png" alt="img"></p>
<h4 id="nginx&#x90E8;&#x7F72;">Nginx&#x90E8;&#x7F72;</h4>
<p>&#x5C06;&#x6784;&#x5EFA;&#x597D;&#x7684;&#x9759;&#x6001;&#x8D44;&#x6E90;&#x6587;&#x4EF6;&#x653E;&#x5165;nginx&#x670D;&#x52A1;&#x7F51;&#x7AD9;&#x76EE;&#x5F55;&#x4E2D;&#x5373;&#x53EF;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../chapter4/" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 4.插件运用">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"5.服务部署","level":"1.5","depth":1,"previous":{"title":"4.插件运用","level":"1.4","depth":1,"path":"chapter4/README.md","ref":"chapter4/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","-search","search-pro","code","expandable-chapters","back-to-top-button","splitter","hide-element"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"splitter":{},"search-pro":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"吴俭","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"GitBook电子书","gitbook":"*","description":"GitBook电子书"},"file":{"path":"chapter5/README.md","mtime":"2021-12-11T14:01:46.292Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-12-11T15:38:57.245Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

